import React from 'react';
import type { IFilePathBreadCrumbItem } from './FilePathBreadCrumb/interface';
export interface IFilePathsParam {
  onBreadCrumbClick?: (e: React.MouseEvent, currResourceId: string, filePaths?: IFilePathBreadCrumbItem[]) => void;
}

export type RefFnParams = {
  resourceId: string;
  resourceName: string;
};

export type RefFn = {
  onAddFilePaths: (param: RefFnParams) => void;
  getFilePaths: () => IFilePathBreadCrumbItem[];
  resetFilePaths: (param: IFilePathBreadCrumbItem[]) => void;
};
